package com.ctshk.rpc.user.dto;

import com.ctshk.common.enums.Currency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *  积分DTO
 * </p>
 *
 * @author 李新科
 * @date 2021/5/31 9:18
 */
@Data
@ApiModel(value="IntegralDTO", description="积分信息")
public class IntegralDTO implements Serializable {

    @ApiModelProperty(value = "剩余积分")
    private Long surplus = 0L;

    @ApiModelProperty(value = "可用积分")
    private Long available = 0L;

    @ApiModelProperty(value = "可抵扣金额")
    private BigDecimal deduction = BigDecimal.ZERO;

    @ApiModelProperty(value = "币种")
    private String currency = Currency.HKD.getCurrency();

    @ApiModelProperty(value = "预计可获得积分")
    private Long expectedObtain = 0L;
}
